import React from 'react';
import { Radio } from 'antd';
import { CONCLUSION_STATUS } from '../../constants';

export default function ConclusionRadioGroup({ conclusions, ...rest }) {
    return (
        <Radio.Group {...rest}>
            {conclusions?.map(key => (
                <Radio value={key} key={key}>
                    {CONCLUSION_STATUS[key]}
                </Radio>
            ))}
        </Radio.Group>
    );
}
